package com.yzt.zhuju.dialog1;

import android.content.Context;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * 筛选项目
 */
public class SelectEmotionDialog extends BaseSelectDialog<String> {

    public SelectEmotionDialog(Context context, String indexData, int data) {
        super(context, new ArrayList<>(Arrays.asList(context.getResources().getStringArray(data))),
                new Transformer<String>() {
                    @Override
                    public String transform(String data) {
                        return data;
                    }
                }, indexData);
    }

    public SelectEmotionDialog(Context context, String indexData, ArrayList<String> data) {
        super(context, data,
                new Transformer<String>() {
                    @Override
                    public String transform(String data) {
                        return data;
                    }
                }, indexData);
    }
}
